#include "lsg_log.h"

using namespace LSG;

int main(int argc, char * argv[])
{
    lsg_set_log_threadsafe(1);
    lsg_set_log_level(LSG_LOG_DEBUG);
    lsg_set_log_path("./log");
    lsg_set_log_prefix("lsg");

    lsg_logging(LSG_LOG_ERR, "error log");
    lsg_logging(LSG_LOG_INFO, "info log");
    lsg_logging(LSG_LOG_DEBUG, "debug log");

    return 0;
}
